package VisitorPattern;

/**
 * @Author: zheng
 * @CreateTime: 2022-08-26  23:37
 * @Description:
 * @Version: 1.0
 */
public class VisitorPatternDemo {
    public static void main(String[] args) {

        ComputerPart computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
